<?php
namespace haibao\cms\model\data\attendance;

Class AttendanceStatistics extends \haibao\cms\model\data\Base{
	/**
	* 考勤周期
	*/
	public $AttendanceCycle;
	/**
	* 员工号
	*/
	public $JobNum;
	/**
	* 奔周期内考勤天数
	*/
	public $AttendanceDays=0;
	/**
	* 迟到早退次数
	*/
	public $ComeLast=0;
	/**
	* 旷工时长
	*/
	public $Absenteeism=0;
	/**
	* 事假
	*/
	public $PersonalLeave=0;
	/**
	* 年假
	*/
	public $AnnualLeave=0;
	/**
	 * 婚假
	 */
	public $MarriageLeave=0;
	/**
	 * 带薪病假
	 */
	public $FullPaySickLeave=0;
	/**
	 * 无薪病假
	 */
	public $PartialPaySickLeave=0;
	/**
	 * 补休假
	 */
	public $TimeInLieuLeave=0;
	/**
	 * 产检假
	 */
	public $MaternityCheckLeave=0;
	/**
	 * 陪产假
	 */
	public $PaternityLeave=0;
	/**
	 * 产假
	 */
	public $MaternityLeave=0;
	/**
	 * 哺乳假
	 */
	public $NursingLeave=0;
	/**
	 * 流产假
	 */
	public $MisccarriageLeave=0;
	/**
	 * 外出及出差
	 */
	public $BusinessLeave=0;
	/**
	 * 其他
	 */
	public $OtherLeave=0;
	/**
	 * 年假剩余
	 */
	public $AnnualLeaveSurplus=0;
	/**
	 * 员工平时加班小时数
	 */
	public $UsualOverTimeHours=0;
	/**
	 * 周末员工加班小时数
	 */
	public $WeekendsOverTimeHours=0;
	/**
	 * 假日员工加班小时数
	 */
	public $HolidayOverTimeHours=0;
	/**
	 * 丧假剩余小时数
	 */
	public $FuneralLeave=0;
	/**
	 * 倒休剩余小时数
	 */
	public $CompensationLeave=0;
	/**
	 * 本年度应休年假
	 */
	public $AnnualLeaveTotal=0;
	
	public $CreateTime;
	
	public $UserInfo;
	public function __construct(){
		parent::__construct();
		$this->intField('JobNum','JobNum',true);
		$this->intField('AttendanceCycle','AttendanceCycle',true);
		$this->intField('AttendanceDays','AttendanceDays',true);
		$this->intField('ComeLast','ComeLast',true);
		$this->floatField('Absenteeism','Absenteeism');
		$this->floatField('PersonalLeave','PersonalLeave');
		$this->floatField('AnnualLeave','AnnualLeave');
		$this->floatField('MarriageLeave','MarriageLeave');
		$this->floatField('FullPaySickLeave','FullPaySickLeave');
		$this->floatField('PartialPaySickLeave','PartialPaySickLeave');
		$this->floatField('TimeInLieuLeave','TimeInLieuLeave');
		$this->floatField('MaternityCheckLeave','MaternityCheckLeave');
		$this->floatField('PaternityLeave','PaternityLeave');
		$this->floatField('MaternityLeave','MaternityLeave');
		$this->floatField('NursingLeave','NursingLeave');
		$this->floatField('MisccarriageLeave','MisccarriageLeave');
		$this->floatField('BusinessLeave','BusinessLeave');
		$this->floatField('OtherLeave','OtherLeave');
		$this->floatField('AnnualLeaveSurplus','AnnualLeaveSurplus');
		$this->floatField('UsualOverTimeHours','UsualOverTimeHours');
		$this->floatField('WeekendsOverTimeHours','WeekendsOverTimeHours');
		$this->floatField('HolidayOverTimeHours','HolidayOverTimeHours');
		$this->floatField('FuneralLeave','FuneralLeave');
		$this->floatField('CompensationLeave','CompensationLeave');
		$this->floatField('AnnualLeaveTotal','AnnualLeaveTotal');
		$this->dateField('CreateTime', 'CreateTime',true);
		$this->setTableName('AttendanceStatistics');
	}
}